<?php
/**
* init_wurfl.php
*
* Used to init wurfl cache from command line 
* Syntax:
* php init_wurfl.php
*
* @author     Blazej Zieba <b@zieba.info>
* @copyright  2007 konekto.com
* @version    CVS: $Id:$
*
*
*/
require_once("config.php");
require_once 'WURFL/Application.php';
$options = &PEAR::getStaticProperty('CONFIG_INI','WURFL');

$wurflConfig = new WURFL_Configuration_XmlConfig($options['config_file']);
$wurflManagerFactory = new WURFL_WURFLManagerFactory($wurflConfig);
$wurflManager = $wurflManagerFactory->create();	 
?>
